@layout("/common/_container.html"){
<style>
    ul{
        margin: 0;
        padding: 0;
    }
    .bigSize {
        font-size: 1.2em;
    }
    .btn_box button {
        margin: 0;
        color: white;
        background: #2eadd0;
        padding: 6px 30px;
        font-size: 1em;
    }
    .records>li,.ulBoxF>li{
        float: left;
        margin-right: 20px;
    }
    .records>li{
        color: white;
        cursor:pointer;
    }
    .records>li>span{
        font-weight: bolder;
    }
    .selectBox {
        width: 160px;
        height: 39px;
    }
    .ulBoxF input,.selectBox{
        border-radius: 3px;
        border: 1px solid #a9a9a9;
    }
</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content">
        <div class="row bigSize">
            <div class="col-sm-12">
                <ul class="ulBoxF clearfix">
                    <li>
                        <label>到店时间</label>
                        <input type="text" style="width: 186px;height: 39px;padding-left: 5px;" id="startArrivalTime" name="到店时间"
                               onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                        <span>-</span>
                        <input type="text" style="width: 186px;height: 39px;padding-left: 5px;" id="endArrivalTime"
                               onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
                    </li>
                    <li>
                        <label>消费状态</label>
                        <select class="selectBox" id="consumptionStatus" name="consumptionStatus"
                                onchange="Consultant.inquire()">
                            <option value="">全部</option>
                            <option value="未消费">未消费</option>
                            <option value="只交定金">只交定金</option>
                            <option value="未完成">未完成</option>
                            <option value="完成">完成</option>
                        </select>
                    </li>
                    <li>
                        <label>跟踪状态</label>
                        <select class="selectBox"  id="followStatus" name="followStatus"
                                onchange="Consultant.inquire()">
                            <option value="">全部</option>
                            <option value="跟踪中">跟踪中</option>
                            <option value="跟踪完成">跟踪完成</option>
                            <option value="跟踪结束">跟踪结束</option>
                        </select>
                    </li>
                    <li>
                        <label>TC</label>
                        <select class="selectBox" id="fieldTc" name="fieldTc"
                                onchange="Consultant.inquire()">

                        </select>
                    </li>
                    <li>
                        <div style="width: 250px;height: 39px;border: 1px solid #cccccc;border-radius: 3px">
                            <span class="glyphicon glyphicon-search" style="padding: 7px 0px 0px 10px;"></span>
                            <input type="text" id="reach" placeholder="姓名/电话/微信/预约号"
                                   onchange="Consultant.search()" style="width: 206px;height: 35px;border: none;float: right;outline:none;margin-top: 1px">
                        </div>
                    </li>
                    <li class="btn_box" style="margin: 0;float: right">
                        <div style="float: right">
                            <button type="button" class="btn" onclick="Consultant.resetSearch()">重置</button>
                            <button type="button" class="btn" onclick="Consultant.downLoad()">导出</button>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row bigSize">
            <div class="col-sm-12" style="background:#3b97d3;;line-height: 46px;margin-top: 20px;">
                <ul class="records clearfix">
                    <li onclick="Consultant.totalNumber()">总人数：<span style="color: #ff8a00" id="total"></span></li>
                    <li onclick="Consultant.newCustomsData()">新客首次：<span style="color: #03feb7" id="first"></span></li>
                    <li onclick="Consultant.newSecondary()">新客二次: <span style="color: red" id="secondary"></span></li>
                    <li onclick="Consultant.newOldGuest()">老客: <span style="color: #fff701" id="oldGuest"></span></li>
                    <li onclick="Consultant.newRevisit()">复诊: <span style="color: #ff00e0" id="revisit"></span></li>
                </ul>
            </div>
        </div>
        <#table id="ConsultantTable"/>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/consultant.js"></script>
@}